TARGET = $(LIB)libsyncer.a
DEBUG_TARGET = $(LIB)libdebug_syncer.a

#All
.PHONY: all
all: $(TARGET)
$(TARGET): $(TARGET)(Syncer.o)
Syncer.o: Syncer.cpp Syncer.h
	$(CXXFLAGS) -c -I$(CONFIG_SRC) -I$(UTILITY_SRC) -I$(INCLUDE) Syncer.cpp 

#Debug
.PHONY: debug
debug: $(DEBUG_TARGET)
$(DEBUG_TARGET): $(DEBUG_TARGET)(debug_Syncer.o)
debug_Syncer.o: Syncer.cpp Syncer.h
	$(CXXFLAGS) -c $(DEBUG_FLAGS) -o debug_Syncer.o \
		-I$(CONFIG_SRC) -I$(UTILITY_SRC) -I$(INCLUDE) Syncer.cpp 

#Clean
.PHONY: clean
clean:
	-rm *.o $(TARGET) $(DEBUG_TARGET)
